<template>
	<view class="boxes">
		<view @click="tbs(1)">推广门店</view>
		<view @click="tbs(2)">推广机器人</view>
		<view @click="tbs(3)">我的收入</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			tbs(num){
				if(num==1){
					uni.navigateTo({
						url:'./list1'
					})
				}else if(num==2){
					uni.navigateTo({
						url:'./list2'
					})
				}else if(num==3){
					uni.navigateTo({
						url:'./list3'
					})
				}
			}
		}
	}
</script>

<style lang="scss">
.boxes{
	view{
		margin:25rpx 0;
		background-color: #fff;
		padding: 25rpx 35rpx;
	}
}
</style>
